const spread=[12,5,8,8,130,44,130]
const spread1=spread.filter((item,index,arr)=>arr.indexOf(item)==index)
console.log(spread1);
/*Set */
let set=new Set (spread)
const arr=[...set]
console.log(Object.prototype.toString.call(set),arr);
/**npm i lodash */